﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Benefit.Interface.Week
{
    /// <summary>
    /// 操作员周收益排名
    /// </summary>
    public interface IOperatorWeekSort
    {


        /// <summary>
        /// 初始化操作员周收益排名
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        void InitOperatorWeekSort(int tradeHistoryId);

        /// <summary>
        /// 得到交易员周排名
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        /// <param name="operatorid"></param>
        /// <returns></returns>
        int GetOperatorSort(int tradeHistoryId, int operatorid);
    }
}
